﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Security;

namespace MoskieBlog.Data.Models
{
    public class User
    {
        public User()
        {
            this.Roles = new HashSet<Role>();
        }

        public Guid UserId
        {
            get;
            set;
        }

        public string UserName
        {
            get;
            set;
        }

        public virtual ICollection<Role> Roles
        {
            get;
            set;
        }
    }
}
